package cn.guetzjb.sys.service;


import cn.guetzjb.sys.domain.SysRole;
import cn.guetzjb.sys.domain.SysUser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author admin
 * @description 针对表【sys_user(用户信息表)】的数据库操作Service
 * @createDate 2023-12-17 17:20:25
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getRoleListByUsername(String username);

    SysUser getUserById(Long userId);

    List<SysUser> getUserAll();

    SysUser registerUser(String username, String password);

    boolean hasUser(String username);

}
